package com.examination.system.instructor.student.ext;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author 寇淇芮
 * @Date 2019/10/23 15:11
 */
@Data
@Entity
@Table(name = "tb_student_family_information")
@GenericGenerator(name = "TbStudentFamilyInformation-uuid", strategy = "assigned")
public class TbStudentFamilyInformation implements Serializable {
    @Id
    @Column(name = "student_id")
    @GeneratedValue(generator = "TbStudentFamilyInformation-uuid")
    private String studentId;
    @Column(name = "current_home_address")
    private String currentHomeAddress;
    @Column(name = "alighting_station")
    private String alightingStation;
    @Column(name = "postal_code")
    private String postalCode;
    @Column(name = "home_telephone")
    private String homeTelephone;
    @Column(name = "linkman")
    private String linkman;

}
